﻿<Window x:Class="kursovaya.Windows.EditInvWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        Title="Редактировать инвентарные предметы" Height="400" Width="320">
    <Grid Background="LightSeaGreen">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="1" Margin="10">
            <TextBox x:Name="IdTextBox"
                     Style="{StaticResource MaterialDesignFilledTextBox}"
                     Margin="0 0 0 30"
                     materialDesign:HintAssist.Hint="ID предмета для редактирования"
                     FontSize="15"
                     MaxWidth="300"/>
            <TextBox x:Name="NameTextBox"
                     Style="{StaticResource MaterialDesignFilledTextBox}"
                     Margin="0 0 0 10"
                     materialDesign:HintAssist.Hint="Название"
                     FontSize="15"
                     MaxWidth="300" />

            <TextBox x:Name="AmountTextBox"
                     Style="{StaticResource MaterialDesignFilledTextBox}"
                     Margin="0 0 0 10"
                     materialDesign:HintAssist.Hint="Количество"
                     FontSize="15"
                     MaxWidth="300" />

            <TextBox x:Name="DescriptionTextBox"
                     Style="{StaticResource MaterialDesignFilledTextBox}"
                     Margin="0 0 0 10"
                     materialDesign:HintAssist.Hint="Описание"
                     FontSize="15"
                     TextWrapping="Wrap"
                     MaxWidth="300" />
            <Button x:Name="SearchButton"
                    Content="Поиск"
                    Click="SearchButton_OnClick"
                    Foreground="DarkGray"
                    MaxWidth="300"/>
            <Button x:Name="SaveShangesButton"
                    Content="Сохранить изменения"
                    Click="SaveShangesButton_OnClick"
                    HorizontalAlignment="Center"
                    Margin="10"
                    Foreground="DarkGray"
                    MaxWidth="300"/>
            
        </StackPanel>
    </Grid>
</Window>
